package com.zmn.oms.dubbo.interfaces.zmn.normal.orderstock;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.dubbo.dto.zmn.orderstock.MasterStockOrderDRO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 类描述：工程师库存
 *
 * @author heciqi
 * @date 2020/5/8 15:58
 */
@Api(tags = "订单工程师库存")
public interface MasterStockRemoteService {

	/**
	 * 按单号查询订单信息
	 *
	 * @param orderIds
	 * @return
	 */
	@ApiOperation(value = "批量查询订单", notes = "批量查询订单")
	ResponseDTO<List<MasterStockOrderDRO>> listOrderWorkByOrderIds(@ApiParam(name = "orderIds", required = true, value = "工单id列表")
																  @NotNull(message = "参数不能为空")
																  @Size(min = 1, max = 1000, message = "数组长度不能超过1000")
																		  List<Long> orderIds);
}
